/*
 * @Author: lixb
 * @Date: 2020-08-07 11:14:44
 * @LastEditors: lixb
 * @LastEditTime: 2020-08-07 11:27:29
 * @Descripttion: 此文件只是示例文件，可删
 */
import axios from '@/utils/axios';
//get请求写法
export function getList(params) {
  return axios.request({
    url: '/table/list',
    method: 'get',
    params,
  });
}
//post请求写法
export function submit(data) {
  return axios.request({
    url: '/table/list',
    method: 'post',
    data: data,
  });
}
